<?php 
namespace app\home\model;
use app\run\model\App;

use think\Model;
use think\Db;
class Type extends Model{//类别表
	public function goodsTypes(){
		return $this->hasOne('goods_details');//关联属性表
	}
}